package com.nulldev.util.web.YouTubeExtractor.video;

public enum ExtractionResult {
	SUCCESS(true),
	SUCCESS_PROXIED(true),
	SUCCESS_AGE_RESTRICTED(true),
	SUCCESS_EMBED_BLOCKED(true),
	FAILED(false),
	FAILED_AGE_RESTRICTED(false),
	FAILED_AGE_EMBED_BLOCKED(false),
	FAILED_GEOGRAPHICALLY_BLOCKED(false);

	private final boolean success;

	private ExtractionResult(final boolean success) {
		this.success = success;
	}

	public boolean successful() {
		return this.success;
	}
}
